﻿@page "/datagrid-pager-api"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>Pager API</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Control pager behavior programmatically using the available API.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo buttons call <code>FirstPage()</code>, <code>GoToPage(9)</code> for the 10th page, and <code>LastPage()</code>, with a checkbox to toggle <code>ShowPagingSummary</code> which uses a custom <code>PagingSummaryTemplate</code> displaying an icon and page information.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridPagerApi">
    <DataGridPagerApi />
</RadzenExample>
